package com.example.protocol.entity.pointtable;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class CabinetPointTable {
    public static List<PointInfo> pointTable = null;

    private CabinetPointTable(){
        pointTable = new ArrayList<>();
        pointTable.add(new PointInfo("string", 12, "cabinetId" ,"电池柜编号"));
        pointTable.add(new PointInfo("unsigned short", 2, "floodWarn" ,"水位报警"));
        pointTable.add(new PointInfo("unsigned short", 2, "fireWarn" ,"火灾报警"));
        pointTable.add(new PointInfo("short", 2, "gsm" ,"GSM信号强度"));
        pointTable.add(new PointInfo("float", 4, "lng" ,"电池柜经度"));
        pointTable.add(new PointInfo("float", 4, "lat" ,"电池柜纬度"));
    }
}
